package trainingcamp.day01.arraytest;

public class Test01 {
    public static void main(String[] args) {
        String[] day = {"星期一","星期二","星期三","星期四",
                "星期五","星期六","星期日"};
        for (int i = 0;i<day.length;i++){
            if(day[i] == "星期六" || day[i] == "星期日"){
                System.out.println(day[i]+"是周末");
            }else {
                System.out.println("工作日,努力干活吧");
            }
        }
    }
}
